import { width, height } from '../options/size'
import { ports } from '../options/ports'
import { Shape, Node } from '@antv/x6'

/**线条路径节点 */
export const LinePath: Node.Definition = Shape.Path.define({
  shape: 'LinePath',
  width: width,
  height: height,
  attrs: {
    body: {
      strokeWidth: 1,
      stroke: '#5F95FF',
      fill: '#ffffff'
    },
    text: {
      fontSize: 12,
      fill: '#262626'
    }
  },
  ports: ports
})
